//
//  CNHelpPlistCell.m
//  test2
//
//  Created by 刘家强 on 16/9/27.
//  Copyright © 2016年 CN Team. All rights reserved.
//

#import "CNHelpPlistCell.h"
#import "Masonry.h"

@interface CNHelpPlistCell ()

@end

@implementation CNHelpPlistCell


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self setupUI];
    }
    return self;
}

// 初始化控件
- (void)setupUI {
    
    UILabel *label = [[UILabel alloc] init];
    label.textColor = [UIColor grayColor];
    label.font = [UIFont systemFontOfSize:15];
    label.textAlignment = NSTextAlignmentLeft;
    label.numberOfLines = 0;
    [self addSubview:label];
    self.label = label;
    
    [UIView animateWithDuration:2 animations:^{
        [label mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.offset(10);
            make.left.offset(20);
            make.right.offset(-20);
            make.bottom.offset(-10);

        }];
    }];
}

@end
